package com.huawei.conf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Controller;

/**
 * @author 黄后林
 * @date 2022-11-05 11:28:00
 * @note 程序员是用代码喂出来的
 */

@Configuration
@PropertySource("classpath:jdbc.properties")
@Import({DatabaseConfiguration.class,MybatisConfiguration.class})
@ComponentScan(value = "com.huawei.billms",excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = {Controller.class})
})
public class SpringConfiguration {
}
